package fun.zerone.service.order.entity.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by XQL on 2021/4/15.
 */
@Data
@Accessors(chain = true)
@TableName("td_order")
public class Order implements Serializable {

    @TableId(value = "order_no", type = IdType.INPUT)
    private String orderNo;

    private Integer userId;

    private BigDecimal totalAmount;
}
